//
//  CustomcollectionView.h
//  releaseInterface
//
//  Created by Gamefire on 16/4/14.
//  Copyright © 2016年 Gamefire. All rights reserved.
//

#import <UIKit/UIKit.h>


@protocol CustomcollectionViewDelegate <NSObject>

//- (void)changeImageArrayEdite:(NSArray *)array withSourceArray:(NSArray *)sourceArray withConnect:(NSArray *)connectArray;

- (void)changeArrayWithEdite:(NSArray*)endChangeArray;



@end



@interface CustomcollectionView : UIView<UICollectionViewDataSource,UICollectionViewDelegateFlowLayout>


@property (nonatomic, strong) NSArray *dataArray;
//@property (nonatomic, strong) NSArray *sourceDataArrya;
//@property (nonatomic, strong) NSArray *connectIDArray;


@property (nonatomic, weak) id<CustomcollectionViewDelegate>MCustomcollectionViewDelegate;



@property (strong,nonatomic)UICollectionView *collectionView;
@property (strong,nonatomic)UICollectionViewFlowLayout *flowlayout;



- (void)ChangeImage:(BOOL)canChange;



@end
